export default class AuthorizedError extends Error {
  name = 'AuthorizedError';

  code = 10002;

  status = 401;

  constructor(message = '用户没有登录') {
    super();
    this.message = message;
  }
}
